﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace Twitter
{
    public partial class WebBrowserDemo : PhoneApplicationPage
    {
        public WebBrowserDemo()
        {
            InitializeComponent();
			Storyboard1.Begin();
            this.Loaded += new RoutedEventHandler(WebBrowserDemo_Loaded);
        }

        void WebBrowserDemo_Loaded(object sender, RoutedEventArgs e)
        {
			
            var url = NavigationContext.QueryString["url"];
            if (string.IsNullOrEmpty(url))
                return;

            ListName.Text = NavigationContext.QueryString["name"].ToString();
            webBrowser1.Source= new Uri(url);
        }
    }
}